package day02;

public class VarDemo {
    public static void main(String[] args) {
        int a, b, c;
        a = 5;
        b = 6;
        c = 7;
        int e = a + b + c;
        System.out.println(e);
        int d=15;
        int f=d+a+b+c+e;
        System.out.println(f);
        f=f+10;
        System.out.println(f);
        a=a+5;
        System.out.println(a);
        b=b+a;
        System.out.println(b);
        c=c+c;
        System.out.println(c);
        f=f+f+a;
        System.out.println(f);
        int balance=5000;
        balance=balance+1000;
        System.out.println(balance);
        balance=balance+balance;
        System.out.println(balance);
        balance=balance-3000;
        System.out.println(balance);
        int k=balance+f;
        System.out.println(k);

    }
}